export class Student {
  public id: number;
  public user_id: number;
  public class_id:number;
  public identity: string;
  public created_time: Date;
  public updated_time: Date;
  constructor({ id, user_id, class_id, identity, created_time, updated_time } :{id:number, user_id:number, class_id:number, identity: string, created_time: Date, updated_time: Date}) {
    this.id = id;
    this.class_id = class_id;
    this.user_id = user_id;
    this.identity = identity;
    this.created_time = created_time;
    this.updated_time = updated_time;
  }
  get getId() {
    return this.id;
  }
  set setId(id: number) {
    this.id = id;
  }
  get getClassId() {
    return this.class_id;
  }
  set setClassId(class_id: number) {
    this.class_id = class_id;
  }
  get getUserId() {
    return this.user_id;
  }
  set setUserId(user_id: number) {
    this.user_id = user_id;
  }
  get getIdentity() {
    return this.identity;
  }
  set setIdentity(identity: string) {
    this.identity = identity;
  }
  get getCreated_time() {
    return this.created_time;
  }
  set setCreated_time(created_time: Date) {
    this.created_time = created_time;
  }
  get getUpdated_time() {
    return this.updated_time;
  }
  set setUpdated_time(updated_time: Date) {
    this.updated_time = updated_time;
  }
}
